package cn.com.surker.experiment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 抗压强度记录表
 * </p>
 *
 * @author admin
 * @since 2021-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ExperimentCompression implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 实验块编号(如:试块A)
     */
    private String code;

    /**
     * 破坏荷载
     */
    private Double destroyLoad;

    /**
     * 单块值
     */
    private Double comValue;

    /**
     * 抗压强度凝期(天数)
     */
    private Integer type;

    /**
     * 实验记录ID
     */
    private Long cid;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态(0:启用1,禁用)
     */
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;


}
